<?php
//call library 
require_once ('lib/nusoap.php'); 

	
//using soap_server to create server object 
$server = new soap_server; 

//register a function that works on server 
$server->register('get_message'); 


// create the function 
function get_message($your_date) 
{ 
	if(!$your_date)
	{ 
	return new soap_fault('Client','','Put Your Username!'); 
	}
	 
$result = "Registration Date ".$your_date ."."; 
return $result; 
} 

// create HTTP listener 
$server->service($HTTP_RAW_POST_DATA); 
exit(); 
?>  